package java67_10;

public class SchoolTest3 {

	public static void main(String[] args) {
		AccpSchool hfkh = new AccpSchool();
		hfkh.show();
		hfkh.name = "合肥科海中心";
		hfkh.numOfClass = 9;
		hfkh.numOfLabs = 6;
		hfkh.show();
		// >>>hfkh = null;//会导致后面的访问这个对象的方法或者属性报错
		AccpSchool hf2 = hfkh;
		System.out.println(">>>>第二个>>>>");
		hfkh = null;
		hf2.show();// 同一个对象
		System.out.println("----第一个=-==--");
		hfkh.show();
//		String nn;
//		System.out.println(nn);
	}

}
